package com.imooc.mall.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
public class ShippingDto {

    @NotNull(message = "收货人不能为空")
    private String receiverName;

    @NotNull(message = "收货人电话不能为空")
    private String receiverPhone;

    @NotNull(message = "收货人电话不能为空")
    private String receiverMobile;

    @NotNull(message = "收货人省份不能为空")
    private String receiverProvince;

    @NotNull(message = "收货人城市不能为空")
    private String receiverCity;

    @NotNull(message = "收货人区域不能为空")
    private String receiverDistrict;

    @NotNull(message = "收货人地址不能为空")
    private String receiverAddress;

    @NotNull(message = "收货人邮编不能为空")
    private String receiverZip;

    public ShippingDto() {

    }
}
